package com.jtlrm.ckd.mvp.view.activity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.jtlrm.ckd.base.acitvity.WebBaseActivity;

public class NewsDetailActivity extends WebBaseActivity {

    String url;

    public static void goDetail(Context context, String url) {
        Intent intent = new Intent(context, NewsDetailActivity.class);
        intent.putExtra("url", url);
        context.startActivity(intent);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        url = getIntent().getStringExtra("url");
        super.onCreate(savedInstanceState);
    }

    @Override
    protected String getTitleText() {
        return "资讯";
    }

    @Override
    protected String getUrl() {
        return url;
    }
}
